import { TeamID } from "core/typeDefine/typeDefine"

export class BuffModel {
    tid: number
    tempID: number //临时buffID
    lvl: number
    round: number
    stack: number
    timerID: number
    deliverIndex: number //释放者
    teamID: TeamID
    roundIndex: number
    attris: any
    roundHurt: any //回合伤害
    constructor(opts: any = {}) {
        opts = opts || {}
        this.lvl = opts.lvl || 0
        this.tid = opts.tid || 0
        this.tempID = opts.tempID || 0
        this.round = opts.round || 0
        this.stack = opts.stack || 0
        this.timerID = opts.timerID || null
        this.deliverIndex = opts.deliverIndex || null
        this.teamID = opts.teamID || 0
        this.roundIndex = opts.roundIndex || 0
        this.attris = opts.attris || null
        this.roundHurt = opts.roundHurt || null
    }
}